Things needed for adding flying codes.

First Note: Some characters already override the default or
            "common" states and may cause problems trying to
            use this code with them.  Use at own risk.

Second Note: Codes are in the flyair.txt, flycmd.txt, and
             flycns.txt files.

Third Note: The default sound values for the air moves are:
            Going up = 3, 4
            Landing  = 3, 9

I. In the .cmd file the last 2 entries for states 767 and 777.


II. In the .cns file all the entries below the override common
    states line in the .cns file.  From:

    ;Fly
    [State 747]

    to 

    [State 5500]... value = 5300 (value = 5300 is last line in
    .cns file)

     Also note: Flying - 747, 767, 777 - coincidence - I think not.


III. in the .air file these actions are added:

     003 - Air Standing animation
     014 - Stand to Crouch and Crouch to Stand Air animation
     015 - Crouching Air animation
     023 - Walking Forward Air animation
     024 - Walking Backward Air animation
     050 - Air Jump Start animation
     051 - Air Jump Straight Up animation
     052 - Air Jump Forward animation
     053 - Air Jump Backward animation
     057 - Air Jump Land animation
     747 - Up into Air and Down from Air


IV. Also needed is to change the PosSet lines to be like so:

    [State xxx, x]
    type = PosSet
    trigger1 = Time = 0
    trigger1 = var(12) = 0
    y = 0

    [State xxx, x.5]
    type = PosSet
    trigger1 = Time = 0
    trigger1 = var(12) = 1
    y = -90


V. For Air type moves (moves done in the air) the changestate may
   need to be changed also:

   [State xxx, 5]
   type = PosSet
   trigger1 = Pos Y != 0
   trigger1 = AnimTime = 0
   trigger1 = var(12) = 0
   trigger2 = Pos Y >= 0
   trigger2 = var(12) = 0
   y = 0

   [State xxx, x.5]
   type = PosSet
   trigger1 = Pos Y != -90
   trigger1 = AnimTime = 0
   trigger1 = var(12) = 1
   trigger2 = var(12) = 1
   trigger2 = Pos Y >= -90
   y = -90

   [State xxx, 6]
   type = ChangeState
   trigger1 = AnimTime = 0
   trigger1 = var(12) = 0
   trigger2 = Pos Y >= 0
   trigger2 = var(12) = 0
   value = 50
   ctrl = 1

   [State xxx, 6.5]
   type = ChangeState
   trigger1 = AnimTime = 0
   trigger1 = var(12) = 1
   trigger2 = var(12) = 1
   trigger2 = Pos Y >= -90
   value = 0
   ctrl = 1


Final Note: No need to ask permission for using the codes.
            Go ahead.  I don't even care about my name
            being used.  I think people know who did these
            codes already so I'll probably already have
            credit anyway.  Most of it is Elecbyte's common
            code anyway with little tweaks and enhancements.
            Feel free to change things if you feel the need
            and really like I said, "No need for credit".
            But leave it up to the discretion of the user.


Final Final Note: This does not mean that you can just add
                  this code to someone else's creation then
                  call it your own.  If using another person's
                  character for your own use fine; but public
                  posting requires the courtesy of the author's
                  permission to alter and post their character
                  with altered codes.  Please respect other
                  authors' wishes.  Also give the original
                  creators their credit but remember too that
                  my credit is not needed for the codes.


GohanSSM2
No copyright, no patent, no worries.  No, Really!!!!